import java.util.Arrays;

public class text1 {
    public static int[] fun1(int[] array){
        for(int i=0;i< array.length;i++){
            array[i]=array[i]*2;
        }
        return array;
    }
    public static void main(String[] args) {
        int[] array={1,2,3,4,5,6};
        fun1(array);
        System.out.println(Arrays.toString(array));
    }
}
